package com.hzz.framework.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "spring.thread-pool")
@Data
@Configuration
public class ThreadPoolProperties {
    Integer corePoolSize;
    Integer keepAliveSeconds;
    Integer maxPoolSize;
    Integer queueCapacity;
}